/**
 * 
 */
package cn.wobuhekele;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * <b>功能说明:</b><p>
</p>
 * @author xchen
 * @CreateDate 2017-1-6 - 下午3:43:01 
 * @Encoding UTF-8
 * @Version 1.0
 */
@Entity
public class Human {
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	@Id
	@GeneratedValue
	private Integer id;
	
	@Column
	private String sex;
	@Column
	private String age;
	public Human() {
	}
	@Override
	public String toString() {
		return "Human [id=" + id + ", sex=" + sex + ", age=" + age + "]";
	}
}
